//
//  PopoverView.h
//  ArrowView
//
//  Created by guojiang on 4/9/14.
//  Copyright (c) 2014年 LINAICAI. All rights reserved.
//


#import <UIKit/UIKit.h>

#define  LEFT_BACKCOLOR_16 @"#f8f8f8"
#define LEFT_SELECT_BACKCOLOR @"#eeeeee"

#define TEXT_COLOR @"#a2a7aa"
#define BORDERCOLOR @"#cccccc"
#define SELECT_BORDERCOLOR @"#4dc1e8"


@interface MyPoperView : UIView

-(id)initWithPoint:(CGPoint)point titles:(NSArray *)titles images:(NSArray *)images;//数组一定是数组嵌套数组
-(id)initWithPoint:(CGPoint)point titles:(NSArray *)titles images:(NSArray *)images selectImage:(NSArray *)selectImages;

-(void)show;
-(void)dismiss;
-(void)dismiss:(BOOL)animated;


@property (nonatomic, strong) UITableView *tableView;
@property (nonatomic, strong) NSArray *titleArray;
@property (nonatomic, strong) NSArray *imageArray;
@property (nonatomic, strong) NSArray *selectImageArray;


@property (nonatomic, copy) UIColor *borderColor;
@property (nonatomic, copy) void (^selectRowAtIndex)(NSIndexPath *indexPath);

@end
